Prevent purge method from getting derailed by thrown exceptions