Register VimLeave callback when the explorer is created instead of when the plugin is loaded