This diff is a part of the stack to fix the AMQP client reconnection issue.
The waitUntilReady function handles waiting for reconnection. This function uses on send() and ack() methods which send and acknowledge the message correspondingly.
The expected behavior is that we must wait while the connection/channel became available instead of returning an error immediately and stopping the execution.
Related linear task: ENG-1495