changed fetch timeout and added max total try time