always increment current task index in stop_current_task, not just if we are starting a new task. avoids problems when calling start after a stop