Finish jobs in main thread.