quick disconnects - how to not spill hot wort everywhere

I was playing around with my blichmann system yesterday.  I will do my first brew this weekend.  In playing around there was one major thing that annoyed me.  I couldn’t clear the lines for the pump and upon disconnecting the lines I spilled hot water all over my floor.  do you guys have any tips for pump operation or quick disconnects?

Large heavy glass measuring cup or some other heavy container. I disconnect over the cup and use the wort from the line for my OG hydro sample.