(create_thread): Pass parent cancelhandling value to child.