When your application is done accessing all folders and containers, ensure that all filters, folders, and containers are closed so that their memory is freed.
To close a filter, use SmsCloseFilter.
To close a folder, use SmsCloseFolder.
To close a container, use SmsCloseContainer.