[TACHYON-123] throw exceptions rather than close connection

There may be more cases that should be fixed, and this doesn't solve the problem if there are network issues, but I rather move those to a different PR.
What infi loop?