[JENKINS-24763] Prevent thread starvation in OldDataMonitor by reducing scope of synchronization

Supercedes #1399 
Resolved in 2e446fd