Back to docs
Waits for the server to become terminated, giving up if the timeout is reached.
Calling this method before start or shutdown is permitted and doesn't change its behavior.
this