handle failure of qrun itself