fixes 159 by removing finally { input.close(); } in client.java