Gracefully handle stopCurrentTask when no callback provided