update pool related code changes fron node-mysql

this should potentially fix issues #68 and #61