Removed catch of EOFException