08-06-2011, 02:52 PM
Can you guys post the scripts you are using the waitfor() function in? sleep() for long periods doesn't cause problems by itself, but delaying the execution of an event handler does, and that is exactly what you're doing.