Fix/executor pending stats/maint3.x

fixes #2039