close the windows