Added multiple DNS queries consideration; added _gap time for the gap between request start and connection end
Comments added