veita opened a new issue, #721: URL: https://github.com/apache/mina-sshd/issues/721
### Version 2.15.0 ### Bug description When sshd-sftp it on the class path a `sshd-SshClient[*]-timer-thread-1` is created and left running as a side effect of various code execution, even though SFTP is never used during the life time of the JVM. An example is the execution of Groovy code in the JVM. The problem can be reproduced with the following code: ```java import java.nio.file.*; public void test() throws IOException { FileSystems.newFileSystem(Paths.get("foo://bar")); return; // place breakpoint here to observe the created thread } ``` ### Actual behavior A thread named `sshd-SshClient[*]-timer-thread-1` is being created as a side effect of unrelated code execution. ### Expected behavior The thread should only be created if it is actually needed. ### Relevant log output ```Shell ``` ### Other information _No response_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org For additional commands, e-mail: dev-h...@mina.apache.org