wakeup only if we have a valid window