Linear retry for rabbitmq connection