Retry memcachedExpirationTests with withRetry function