Add a test for when redis closes the connection