title: Pxssh reconnect Python (pexpect)
body: <p>I need to do more then one connection in one script using <code>pxssh</code>.
  Trying to do like this:</p>
  
  <pre><code>import pxssh
  ip = 'ip'
  username = 'username'
  password = 'password'
  s = pxssh.pxssh()
  s.login (ip, username, password)
  s.sendline('command')
  s.prompt()
  print s.before
  s.logout()
  s.login(ip2, username, password)
  etc
  </code></pre>
  
  <p>But getting error on the second connection: <code>AssertionError: The pid member must be None.</code>
  Only one connection per time is passing.
  How to get it work?</p>