#586 check for interrupted