Update bgworker to use fork instead of worker_thread
#1808
Merged
fork instead of worker_thread
#1808