improve error handling and possible fix multy release bug
improve error handling and possible fix multy release bug

yocaminobien/CDBiCloudReadyDocumentsContainer,yocaminobien/CDBiCloudReadyDocumentsContainer,yocaminobien/CDBiCloudReadyDocumentsContainer