Mutex implementation based on Yii cache.