Trying to publish messages when locks expire