Trying to fix "MySQL server has gone away" while doing simple tests