license check fix for SFTPSession