Don't remove IOLoop handler of a connection on every IO callback.
Don't remove IOLoop handler of a connection on every IO callback.

Instead, add handler at the start of an operation (e.g. opening a connection,
or executing an SQL query), update the handler everything an event occurs
(reading and writing) and remove the handler when the operation is done or
when an error occurs.

jbowes/momoko,jbowes/momoko,friedcell/momoko,gward/momoko,friedcell/momoko,gward/momoko