Fixed flaw in TCPServer:stop.