Refactor sending request into function
Implement sending concurrent requests to urls