Is there a way to succesfully implement this functionality:
	void OnApplicationQuit()
	{
	storageService.UpdateDocumentByKeyValue(dbName,collectionName,key,value,
	jsonDoc, new UnityCallBack());
	}
	 
	I want to update a document before quitting an application. If the application is closed before the callback occurs there is no change on the server.
	Is there a way to call a method in a way that there would be change on the server no matter if callback function is called or not?
	How should I resolve this issue? Thank you for your help.