Close handle added to subWindow