@Override
	public void close() throws IOException {
			if(os != null){
				try{
					os.flush();
					os.close();
					os = null;
					} catch (IOException e ){
						e.printStackTrace();
					}		
			}
			if(fWriter != null){
				try{
					fWriter.close();
					fWriter = null;
					} catch (IOException e ){
						e.printStackTrace();
					}
			}
			if(is != null){
				try{
					is.close();
					is = null;
				} catch (IOException e ){
					e.printStackTrace();
				}
			}
			
			if(fReader != null){
				try{
				fReader.close();
				fReader = null;
				} catch (IOException e ){
					e.printStackTrace();
				}
			}
			connectionInStatus = false;
			connectionOutStatus = false;
	}