Remove proxies before delete module.