use pooling api
Merge pull request #164 from justinstoller/maint/master/pooling

use pooling api