limit the number of analyze workers, add an error modal