implemented cancel, pilot cleanup at all.