disable target comms before killing it
don't try to set pinMode on nonexistant endstop pin