I'm not sure if this is necessary, but if it is I believe that the `quit` method is what is recommended, which itself calls `close`.