HPCC-9409 Protect access to delayed inputs with a critical section

The timings for the delayed inputs could be requested at the same
time that they were being changed, causing an access to an invalid
pointer.

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>