Stops hosting the HTTP server.

If run when the server is not hosting, no error will be created.