Adding resume support for cancel operation