cleanup OctreeSendThread correctly