make graceful shutdown possible
regard shutdown order (clean buffer and close elasticsearch client afterwards)
shutdown amqp consumer to stop ring buffer processors