Trying to fix the "MySQL has gone away" issue.