cleanup openocd config between interface and target