Restore .Close

Testing finalizers is not as easy as I thought. Need more time.
Merge remote-tracking branch 'origin/master'