remove specified version for mock_redis
update locking mechanism for redis 2.6.12+