switch between threads each 50 commands