setting max listeners to unlimited