exit on SSL failure