Fix setTimeout time value on wrong call, causing CPU runaway