in reply to Re^2: REST API with SFTP Poolingin thread REST API with SFTP Pooling
In order to keep the SFTP connection alive, you can just set a timer (with Mojo::IOLoop::timer) for sending the dummy commands.