Fixed missed confirms when using publisher confirms with rabbitmq