Close MySQL connections

[#59367452]