add multithreading for tournament
deactivate agents automatically when too many errors