private void shutdownSocket() {
		if (mSocket != null) {
			try {
				mSocket.close();
			} catch (Exception exception) {
				// Ignore.
			}
			mSocket = null;
			mInput = null;
			mOutput = null;
		}
	}