attempt settimeout approach for accessing connectiontype