Reset storage endpoint to null on error