public void close()
	{
		loggedIn = false;
		
		if (out != null)
		{
			// And attempt to logout, but don't care if we fail
			try
			{
				int id = invoke("loginService", "logout", new Object[] { authToken });
				join(id);
			}
			catch (IOException e)
			{
				// Ignored
			}
		}
		
		super.close();
	}