Safe canCancel call