See a man about a dog

To leave for some unspecified purpose (often to go to the restroom).

I drank several cups of coffee and I soon had to stop my car to see a man about a dog.