[...] sometimes the Matlab code just hangs because a channel does not exist or went away. There is no error ...