Fix problem with sleep proxy wakeup event