fixed problems with node fetch call freezing