The lib should automatically reconnect and resume processing if a connection fails. Right now clients have to take a lot of care to detect disconnects, re-establish and resume. See e.g. https://github.com/84codes/84bot/pull/65
The reconnect/recover logic can take inspiration from https://github.com/cloudamqp/amqp-client.rb