rewrite the dispose in redisClient to close the autoResetEvent