Made RedisCacheAdapter to wait for subscription is done in Redis to prevent race conditions