fix the bug that site will tell mysql gone away
process
clean up