Setting max listeners