broke rabbitmq connect() out, using code climate