Reset storage endpoint to null on error
Merge pull request #53 from cafed00d/develop

Reset storage endpoint to null on error