quick and diiirty timeouts in http client lib. mostly for testing.