Trying to use a released object now throws the right kind of exception