Fixed LogHandlers not being removed on TS3Query#exit() (thanks to
maradine)