fix bogus handleTimeout call in waitFor