awaitTermination

public void awaitTermination()

Waits for the service to become terminated.