Made the simple echo server loop until it receives a stop message