ConnectionPool + minor improvements
Merge remote-tracking branch 'origin/master'