throw new Exception("Failed to reach stopped state");
logger.fine("Closing processor");
processor.close();
logger.fine("Deallocating processor");
processor.deallocate();
// TODO: is the processor supposed to do this?
if (destDataSink != null)
{
logger.fine("Stopping dest datasink");