private boolean removeFromSystemStreaming(AvalonSystem sys)
	{
		Interface masterIntf = null, slaveIntf = null;
		masterIntf = getInterfaces(SystemDataType.STREAMING, true).firstElement();
		slaveIntf = getInterfaces(SystemDataType.STREAMING, false).firstElement();
		if((masterIntf!=null)&&(slaveIntf!=null))
		{
			Connection conn = slaveIntf.getConnections().firstElement();
			Connection oldConn = masterIntf.getConnections().firstElement();
			if(conn!=null)
			{
				//Remove clocks
				for(Interface intf : getInterfaces(SystemDataType.CLOCK,false))
				{
					for(Connection clkConn : intf.getConnections())
					{
						clkConn.getMasterInterface().getConnections().remove(clkConn);
					}
				}
				
				conn.setSlaveInterface(oldConn.getSlaveInterface());
				oldConn.getSlaveInterface().getConnections().remove(oldConn);
				oldConn.getSlaveInterface().getConnections().add(conn);
				sys.removeSystemComponent(this);
				return true;				
			}
		}
		return false;
	}