add timeout while fetching url