Fix failing client cache spec that was failing due to thread timing issues.