helper to clear redis server