make connect timeout configurable.