Introduce a condition variable for application threads waiting for eviction candidates.

Application eviction used to poll, but it's hard to get the polling
interval right for all cases.