diff --git a/obsw_tmtc_client.py b/obsw_tmtc_client.py
index d44712e518742b697cfc1271c917952e388a0eda..86934b2482d5f2348ff0cc5e3fb200ba484abe0a 100755
--- a/obsw_tmtc_client.py
+++ b/obsw_tmtc_client.py
@@ -153,6 +153,7 @@ class TmTcHandler:
                 time.sleep(5)
             except (IOError, KeyboardInterrupt):
                 LOGGER.info("Closing TMTC client.")
+                sys.exit()
 
     def handle_action(self):
         """