ExecutorConfigurationSupport::setAcceptTasksAfterContextClose is introduced since Spring Framework 6.1 See gh-38968