removed command thread