To allow number of requeued messages to be tracked we are logging when a lock exists when trying to add a new message.
The setting of the key and the expiry have been moved into a redis atomic execution to make sure
we do not have a lock set without an expiration under any circumstance.