checkCancelled