Fixed an issue with the echo server that made it loop after a client disconnected.