Close read and write pipes, release USB interface and send command
Remove target folder and stop tracking it