fix cleanup by hitting port to activate kill switch