Fixed a bug where command sequences wouldn't be cleared in between thread calls