Accumulate log and shutdown service