sets timeout for API calls to 0 (infinity)