If an exposed function is called before the nvim-hs plugin host has fully started, an error is thrown. Neovim assumes that a plugin is loaded once the channel is open and there is time window of a few milliseconds in which this can cause a problem.