added check to bootstrap to handle curl partial failuer