Ensuring the queue exists