Make the connect and read timeouts configurable