fixes #2645 - non-admin users can now create smart variables
Fixes #2712 - Handle Net::SSH::Disconnect gracefully