def METHOD_NAME(self, pghoard_ipv6_loopback):
    pghoard_ipv6_loopback.write_backup_state_to_json_file()
    conn = HTTPConnection(host="127.0.0.1", port=pghoard_ipv6_loopback.config["http_port"])
    with raises(ConnectionRefusedError):
        conn.request("GET", "/status")