Fix server deletion, add refactoring

Fixed serververs deletion by adding stop server prior deleting it.
Added refactoring for instance connectivity checks. Added retry
ssh for sanity tests.

Change-Id: If61c373b7295576ff0a56e4500b29b84b752db81