exit(1) if worker doesn't return successfully