diff --git a/cmake_targets/autotests/run_exec_lte-softmodem_tests.py b/cmake_targets/autotests/run_exec_lte-softmodem_tests.py
index 508dfe5ca36180770778b8605754262e83dbdb89..00d6f01b2c13c00c116a0ad532b348e65fe00211 100755
--- a/cmake_targets/autotests/run_exec_lte-softmodem_tests.py
+++ b/cmake_targets/autotests/run_exec_lte-softmodem_tests.py
@@ -1318,8 +1318,8 @@ if (out != '') :
   print "status  = " + str(status) + "\n Check files for error = " + out
   print sys.exit(1)
 
+cleanOldProgramsAllMachines(oai_list, CleanUpOldProgs, CleanUpAluLteBox, ExmimoRfStop)
 if cleanUpRemoteMachines == True:
-  cleanOldProgramsAllMachines(oai_list, CleanUpOldProgs, CleanUpAluLteBox, ExmimoRfStop)
   sys.exit(0)
 
 threadListGlobal=[]