Prevent xhr shim from leaking.