function updateMaxTaskTime() {
		if ( pWaitForNextTask == null ) {
			iMaxTaskTime = Date.now() + iMaxTaskDuration;
		}
	}
Update elapsed time threshold.

The threshold will be updated only if executions currently are not postponed.
Otherwise, the next task will anyhow update the threshold.