workaround for pool not terminating when a sql error occurs

Meter ID creation was moved to the init of the single file loader rather than being called every row insertion.