protected synchronized void cleanup()
	{
		try {
			if(toAppStream != null) toAppStream.close();
			if(toNetStream != null) toNetStream.close();
			
			toAppStream = null;
			toNetStream = null;
		} catch (IOException tExc) {
			// ignore exception
		}
		
		toAppBuffer = null;
	}