Fix memory leak: user and logitem queues are not ready to be processed yet