in.close(); } catch (Exception e){}
if (in != null) in.close(); } catch (Exception e){e.printStackTrace();}
	public void run(){		FileDescriptor fd = new FileDescriptor();		SpecialJNI.getFD(fd, Xmmsclient.getPointerToConnection(myConnection));		SpecialJNI.setupMainloop(this, Xmmsclient.getPointerToConnection(myConnection));		FileInputStream in = new FileInputStream(fd);		try {			while (fd.valid() && running){				Thread.sleep(40);				if (in.available() > 0)					Xmmsclient.xmmsc_io_in_handle(myConnection);				if (Xmmsclient.xmmsc_io_want_out(myConnection) > 0)					Xmmsclient.xmmsc_io_out_handle(myConnection);			}		} catch (InterruptedException e) {			e.printStackTrace();		} catch (IOException io){			System.err.println("my fd went to nowhere - should be ok if you just shut down");		}finally {			try {				in.close();			} catch (Exception e){}		}	}