Cleaning up

Test memory stream disposal