close http server manually.

The WebSocketServer.close will close the http server only if it was internally created. So we should call HttpServer.close manually.