Stops the service asynchronously and blocks until it has terminated or the timeout expires.
the maximum duration to wait for the service to stop. Defaults to 30 seconds.