@ -63,6 +63,7 @@ except KeyboardInterrupt:
print("Programm durch Benutzer unterbrochen.")
finally:
socat_proc.kill()
ser.close()
reader_thread.join()
writer_thread.join()