Fix: services: Fixes segfault associated with cancelling in-flight recurring operations.

Many thanks to Kazunori INOUE for both identifying the
issue and diligently tracking down the source of the problem.
Merge pull request #408 from davidvossel/fix_action_cancel_crash

Fix: services: Fixes segfault associated with cancelling in-flight recurring operations