close the rabbit connection when done