Fix IllegalMonitorStateException in RedisCache

DATAREDIS-214