The message just means that something (anything!) broke communicating with the database. So, I would make sure you have Debugging on and check your web server's error log after the error occurs.
However, you do want to check your MySQL max_allowed_packet setting as that is quite a common problem.