update pool related code changes fron node-mysql
Merge pull request #70 from sidorares/pool-update

update pool related code changes fron node-mysql