I understand that firebase transactions sometimes reads data as null but then the loop runs again until the value is obtained from server and committed. However I\'m facing