Cancel replication of the per-farm databases from the local server to the
    cloud server.

def cancel_per_farm_db_replication():
    """
    Cancel replication of the per-farm databases from the local server to the
    cloud server.
    """
    cloud_url = config["cloud_server"]["url"]
    local_url = config["local_server"]["url"]
    server = Server(local_url)
    for db_name in per_farm_dbs:
        server.cancel_replication(db_name)