FIX concurrency problem with ONTIMEINTERVAL threads running at sync