There is a function that tries to upload or download. Should we keep calling initAPI and ShutdownAPI every time we call these functions? Or can I just call it once?