send exit_status on error