handle double deletion caused by httpretty