Fix "connection already open" issues for MySQL now that pooling is available
The ugliness of this patch pains me, but it works and we can clean it up after 0.1.5 is out