Close a substantial resource leak in drone processes.