make disposable non-readonly

so we can set the to null in the cleanup without peverify complaining