fix #1819: fork_worker: ensure sync'ed workers control terminal