docs: def stop(self):
          '''
          Closing the socket.
          '''
          log.info('Stopping the TCP listener')
          self.__up = False
          try:
              self.skt.shutdown(socket.SHUT_RDWR)
          except socket.error:
              log.error('The following error may not be critical:', exc_info=True)
          self.skt.close()