making sure redis closes for heartbeat tests