add timeout configuration for network connection