Do not use exceptions for logic in waiting functions