Fix bug where the connection would throw an error if the redis connection was closed