Pick .end or .release depending on whether using connection pool.

This enables support for the 2.0.0 alpha versions of MySQL when using
connection pools.
Merge pull request #61 from A1kmm/associations

Pick .end or .release depending on whether using connection pool.