Fixed error when commands were sent when updating thread was not running