this can't be prevented. you are trying to interupt a https request and that will cause a message like this, using a certificate from a trusted CA helps a little but in the end you will always receive messages (and you should else it wouldn't be save) if you interupt a https session.