leporo/tornado-redis — pull request #3 by maeldur (2012-05-15 06:45:00+00:00)
Title: catch raised IOError in execute_command so as to not prevent future calls from hanging

it seemed that when an IOError is caught and the on_disconnect event is fired, the resulting exception caused the control flow to leave execute_command (and be caught in the client). this prevented on_read_done from being called, and future calls to queue_wait would only append to the read queue (as self.in_progress would stay True)

not sure if this is the best change to address the issue.