Close 2 Windows with AUTOIT

Job ID: 31680658

Budget: €6 – €12 EUR

Hello, have 2 windows and i try to close one, but windows not closing
I think it's because i have out of while

Can you help to close windows ?
Related categories: C# Programming AutoHotkey