@Override
	public void close() {
		try {
			super.close();
		} finally {
			closed = true;

			// Close client connection
			try {
				client.close();
			} catch (IOException ex) {
				logger.info("Failed to close client connection to remote VM: {}", virtualMachine.id());
			}
		}
	}
@param virtualMachine
		Instance of remote VM.
@param client
		Client to communicate to the remote VM.
recaf-core/src/main/java/software/coley/recaf/workspace/model/resource/AgentServerRemoteVmResource.java