add event thread limit