added pool recycle to deal with mysql stale connection