Introduced in version 2.5.1 Behavioral changes and enhancements SSHD-1022 NPE in SftpOutputStreamAsync#flush() if no data written in between.