Fix wake() after extended sleep().