minor changes and sleep manager does not yield