Simulate latency in a Flask development environment