The VIM_SSH.pm module will fail to initialize if some of the VMware services are not responding. When this occurs, the output of many of the vim-cmd's will be:
Failed to login: Connection reset by peer
This can be resolved by restarting the VMware services by running:
A call to this could be added to the code when the problem is detected.