Example should shows "is_disconnect()" function usage. The current version of example is incorrect. Try: 1. start mongrel 2. connect with curl 3. kill curl 4. start example 5. example in infinite loop now