Prevent proxy to be saved in certain circumstances