Handles on all levels (dictionary, database etc.) are closed when they are owned (opened) by the data source.