Set c3p0.maxIdleTime=28700 since mysql maxIdleTime is 28800