I have a long-running job, built using Propel2. However, sometimes it crashes with the infamous mysql server has gone away error. I'd like to recover from this error by reconnecting to the server, maybe after waiting a few seconds. Does anyone have an idea how to force Propel to reconnect after the connection has been lost? I didn't find any clues how to do this from the Propel or PDO API.