delayed check() function 1000ms for it to work using google.com