Added support for timeout and clean shutdown of the connection and server after a received message