Fix/executor pending stats/maint3.x

fix test. Possibility of second task getting the rejection exception is removed.