Cortex: reduced time to wait for sleep function.
revert ksm modifications by voku