check whether redis is enabled before clearing channel