If the connection is aborted or disconnected at any point, the plugin saves a corrupted image in the cache and the only way to get rid of it is by clearing app data.
There should be a way to check that the file transfer is complete without any interruptions before saving to cache.