The FTP, FTPS, SFTP, SCP and Execute SSH Commands tasks can optionally keep a session alive after the task finishes by specifying an Output Session ID on them. This is useful to keep an existing connection alive inside of a loop or over multi-step workflows. The Close Session task closes the specified session after it is no longer needed. If a session is persisted and this task is not included in a Project, the session will automatically be disconnected and closed at the end of the Project.