This diff introduces small changes to the AMQP client initialization function.
The good point is to wait until the client is ready in the initialization call using waitUntilready from D4741. In case the AMQP server is not available we shouldn't defer connection/reconnection waiting to the first call of the send or ack and stop the execution of the app right after the maximum reconnection failures is reached.
The init() is called from the main and in tests in the SetUp section. That's why is a good point to wait for a successful connection here.