teamspeak2: fix potential use after close