Implemented client shutdown on EOF, Fixed time limits