- add curl error handling in utility2.sh