Make ssh_channel.interactive() work when term_mode is not active