bugfix to rmq connection close