master Fixed curl sometimes never ending