set wait timeout to 2 seconds in runNow() function in xThreadPool class