fixed send windows not releasing after closing