keep target chain worker loop running until it has finished handling invalid chains, if any