Make connection and read timeouts configurable