prevent OOM in failover situations