finally caught EOFException for stream read.
Merge branch 'master' of https://github.com/Dyndrilliac/cnt-4504-assignments