MySQL connections are not closed

[CMS Issue 29916](http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=29916) fixed in the CMS repo at joomla/joomla-cms@1e0089018933a9de57960b70adb334a3e690e783