Do not close background job too early