Max listeners in task.js