pub fn worker_main() -> Result<()>
Private child entry point; invoke before application initialization.