Re-use ssh connection

- Previously only re-using if no flags were supplied; now re-use also if it's just that stdout/stderr have custom capturing.
  Important for SshSensorAdapter.