Could not successfully run query from DB: MySQL server has gone away