peewee.OperationalError: MySQL server has gone away

That's probably the safest option, yes (sorry again!). If you want, you can also experiment with initialising peewee database yourself – maybe something clever could be done with the PooledMySQLDatabase class of the Playhouse extensions? (See here for an example of plugging in a custom database.)