when HTTPS error, exit
fix