Regardless of when you decide to stand up and head to the bathroom, don't create a scene. It's best to act as though you are going to the bathroom to clean up or even pee. However, it's important to leave when everyone is busy with work and paying the slightest attention to anyone else.