ptc.py: better comms checking