MySQL pool: added exception handling.
Merge pull request #8 from meefik/master

MySQL pool: added exception handling.