make indexpool lazy