Is there a way to queue a msleep in the event loop of an object?