Implemented cancel callback for on method