use EOF exception, remove reading timeout