Updated canceling operations.
Merge pull request #6 from josipbernat/develop

Updated canceling operations.