There is no problem hooking up the ball lock connectors even when the keg is under pressure. IMHO there is no reason to even purge the pressure before connecting.
The only thing that can really make a mess is if a poppet valve sticks when you disconnect a line.