Move dry_run outside thread so that error handling can work
Move dry_run outside thread so that error handling can work

j-f1/forked-metasmoke,Charcoal-SE/metasmoke,Charcoal-SE/metasmoke,angussidney/metasmoke,j-f1/forked-metasmoke,angussidney/metasmoke,SulphurDioxide/metasmoke,j-f1/forked-metasmoke,j-f1/forked-metasmoke,Charcoal-SE/metasmoke,SulphurDioxide/metasmoke,Charcoal-SE/metasmoke,angussidney/metasmoke,angussidney/metasmoke,SulphurDioxide/metasmoke