Fixes https://github.com/spring-projects/spring-integration/issues/8797 After migration to Apache MINA we have missed to fix `DefaultSftpSessionFactory.timeout` to be `0` by default as it states in its Javadocs and reference manual It is `null` by default which really means an infinite wait. * Fix `DefaultSftpSessionFactory.timeout` to be a reasonable 30 seconds by default * Fix `setTimeout()` Javadocs and respective `session-factory.adoc` * Propagate this `timeout` down to the `SftpClient` for its commands interactions