added a longer timeout to avoid reconnections when network performace is degraded.