changed the timing to account for log runs in the main worker process