Fix the flush method

The Redis client doesn't have a method called flush, replaced by  flushAll