close_conn missing from batch_insert . Added it !