nailed it. once we've got the sleep mutex, make sure there's nothing in 'our' queue before taking a nap.