Update provision script to exit and display error message when it cannot connect to the internet