record the time jobs spent waiting in queue