ensure the fetching process does not freeze