Close connection to Redis after a server connection ends