Add worker_count arg in init_coroutine_env()

So user can specify the number of background threads