Preparing job server components inside separate thread