How to close SAP session using UiPath?

@Ankit_Chauhan

generally if same windows are open the idx would differ so try to use that and close

cheers