facebook/presto — pull request #857 by nileema (2013-11-15 21:59:41+00:00)
Title: Cli hangs when the server goes away

Presto cli hangs for a long time when the server goes away. Add a check to see if the client is closed so that we can get out of this state by sending SIGINT