Configurable connect_timeout and timeout in init