There should probably be a user-specifiable option as to whether they want to wait or just raise an exception here - not everyone wants to block their program in a sleep loop.