fix closing paramiko sessions

will now try to close netconf session first, then paramiko session in
multi_cmd()