waitForStopped

open fun waitForStopped(timeoutMs: Long): Boolean