Cancel request on certificate verification failed (iOS)