rabbitmq: removed unreachable code