pika/pika — pull request #422 by anton-ryzhov (2013-11-25 17:26:44+00:00)
Title: Don't stop IO loop before `Close` send and `Close.Ok` received

I'm not sure I'm understanding previous code, but is looks strange and definitely doesn't work with Tornado engine.

Now `_handle_ioloop_stop` still will be called from another callback when `CloseOk` message will be received.