#249 Added a check to make sure RHEVM API connection was actually created before attempting to close it.  Also added insecure flag to API connection so a connection without a ca cert file can be established.