Call stopCurrentTask callback if no task to stop