Are you saying this happened during a shutdown? If so, don't worry about it. If this happened during normal page-serving, when MySQL was up and appeared to be okay, you should be concerned. One thing you might want to try is connecting via TCP instead of local sockets.