HPCC-9385 - Fix thread pool runningCount()

runningCount() was incorrectly tracked
Add optional tracing for pool thread starts and average delay

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>