Add to maxListeners when running proxied task

- Increment maxListeners by 2 to account for our event bindings
- Decrement on task completion
- Add unit test checking for warning