'Sets a new server address. If there is an existing connection, it will be closed.'

def set_server(self, address):

    if self.server_conn.connected():
        self.disconnect()
    self.log('Set    new    server    address:    {}:{}'.format(address[0], address[1]), 'debug')
    self.server_conn.address = address
    self.__check_self_connect()
