* Add getConnection API.
* Fix bug in releasing cursor pool.