private void disconnectInternal(){
  responseCode=-1;
  inputStream=null;
  if (pi != null) {
    pi.finishTracking();
    pi=null;
  }
  if (http != null) {
    http.closeServer();
    http=null;
    connected=false;
  }
}

private void disconnectInternal ( ) { responseCode = - 1 ; inputStream = null ; if ( pi != null ) { pi . finishTracking ( ) ; pi = null ; } if ( http != null ) { http . closeServer ( ) ; http = null ; connected = false ; } }
disconnect from the server ( for internal use )
