Bugfix for run and stop. Fix typo in process_success and process_error.