Couchbase Server

Schedule the stats snapshot task before purging TAP connections upon the engine shutdown