<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 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)