public void exit() {
		_scanner.close();
		try {
			UnicastRemoteObject.unexportObject(_instance, true);
			_remoteObj.logout(_username, ServerInterface.CLIENT);
		} catch(Exception ex) {
			if(connect()) {
				exit();
				return;
			}
			System.out.println("Error on exit");
			System.out.println(ex.getMessage());
		}
	}