test-audio-player: free window when it's closed