better way to remove rabbitmq circular input/output