private void requestStopListening() {
		stopListening = true;
		if (socketInputStream != null) {
			try {
				socketInputStream.close();
			}
			catch (IOException e) {
			}
		}
		if (clientSocket != null) {
			try {
				clientSocket.close();
			}
			catch (IOException e) {
			}
			pingSocket("ping");
		}
	}