zcache: fix deadlock condition