[lang] Support for IDisposable using blocks