Modification of the main processing loop in metrics poller

1. Removed redundant checking of connection which is handle in the VMWareClient.connect() method
2. Disconnect the client connection if an error occurrs during polling for metrics so that a new connection is established