Fix error with LiteDFMClose

If the plugin was not currently active, calling the `LiteDFMClose`
function threw an error. This fixes #6.