Reduce loop timeouts to improve mitmproxy responsiveness

Fixes #384