Issue #2231631: Tests randomly fail with "MySQL server has gone away".