echoServer: handle sigint