Bugfix when removing client thread from the internal list.