try state->cancel