Free up MySQL connections when done.