setting max listeners