Everyting for url check runs asynchronously..modified checkUrl function