YARN-6168, recovered containers can be reported to AM in response to the AM heartbeat.
Currently, the Service Master will release the containers, that are not reported in the AM registration response, immediately.
Instead, the master can wait for a configured amount of time for the containers to be recovered by RM. These containers are sent to AM in the heartbeat response. Once a container is not reported in the configured interval, it can be released by the master.