Infinite waiting for cache lock.

In case of timeout not we either fail build or kill cacodaemon. Both
cases are unacceptable. It is better to get "hang" processes and then
debug cause of the problem with locking.