I tested this as well (cancelling a sync task, and it behaved correctly).