increase likelihood of yielding thread
Merge pull request #2733 from mtbc/improve-sleep-timer

make sleep timer's shutdown method less likely to hold thread (rebased from dev_5_0)