Sometimes, you might find that relying on the automatic finalization mechanism is not sufficient for your application. If you need to be sure exactly when the external resources are released then you can explicitly ask for this to happen by sending the appropriate object a #close message. Try the previous test again to see what happens when you explicitly close the results set.
rs := c query: 'select * from Orders'. "Evaluate it"
The following #close methods are available: