core: revert sleep hack