Used to stop the server.
Upon successful return, the service and any underlying threads should have been stopped. The stop method MUST unregister any published interfaces.