[UI][AJAX] end of track correctly managed checking exit_code