Fix it so get and put give a good error message

when trying to put/get all from a closed container.