Queue#<< can trigger sleep state briefly, so use a boolean too.