The function lives in client.py but was missing from the package __init__, unlike its neighbours clear_all_cache and clear_server_cache. The monitoring worker imports it from app.proxmox inside a try/except ImportError, so nothing crashed — the hourly job was silently skipped with "Proxmox cache cleanup not available" and the connection cache was never pruned, keeping entries older than an hour alive until restart.