modififed defaults to prolong connection with custom configurations.