ENG-4806: Cleanup snapshot buffer pool in the terminator thread.

Also removed unused parameter from doSnapshotWork().

Each site creates a cleanup task at the end of its snapshot work and puts it on
the snapshot completion task queue. The tasks will be run on a seperate thread
when the last site finishes the snapshot.