Add simulated latency and connection management