Execute rebuild operations in new threads so the main thread may send heartbeat output to prevent the WebJob being aborted for no activity.