Flushing ssh stream