remove redundant try/except
add --quit-after