cleanly close rabbitmq channel and tornado connection