delete ets table when terminate