I have a FileChooserDialog, and when I call file_picker.destroy it won\'t exit until the entire function has exited. How can I make it destroy instantly and still execute th