Wraps Net::SFTP calls with exception handling and block yielding with persistent connection