Shutting down compactionExecutor on db close