ruby: consumer: avoid accessing wakeup times when waking up