Set the state to CANCEL instead of RESUME