Send async records during shutdown

Currently, the display URLs and ACLs that are sent via AsyncDocIdSender
are lost if the Adaptor is shutdown before they were sent, which is
likely because we sleep waiting for a batch. Now we push those lingering
records on shutdown.
4 files changed