Add cancel function to initializer
Merge remote-tracking branch 'origin/patch-1'