docs: def shut_down():
      """Closes connection and restores terminal"""
      curses.nocbreak()
      curses.echo()
      curses.endwin()
      gpsd_socket.close()
      print('Keyboard interrupt received\nTerminated by user\nGood Bye.\n')
      sys.exit(1)