oft frequently hangs on error exit
diff --git a/tests/oft b/tests/oft
index 85a50fb..4b115ba 100755
--- a/tests/oft
+++ b/tests/oft
@@ -583,6 +583,7 @@
         print("Skipped " + str(testutils.skipped_test_count) + ts)
     logging.info("*** TEST RUN END  : " + time.asctime())
     if result.failures or result.errors:
-        exit(1)
+        # exit(1) hangs sometimes
+        os._exit(1)
     if testutils.skipped_test_count > 0 and config["fail_skipped"]:
-        exit(1)
+        os._exit(1)