catching rare ssl error