UNDERTOW-23 Invoke listeners in the right order