close ExpectUtils ssh and telnet sessions

ExpectUtils.SSH and ExpectUtils.telnet were not cleaning up their
respective sessions.