preflight: create preflight worker as detached thread and handle errors