Retries when SSL exception occurs.