Disconnect database connections when rescuing exceptions.

* Make tests MySQL specific. SQLite and Postgres don't have the same
  problem.
* Update README with MySQL instructions.