Introduce onSystemShutdown hooks and make following components use these:
- GroupId RRF
- SummaryFile TCS
Former will shut down named locks adapter, while latter two are flushing (if recorded!) in this hook. This also implies, that in mvnd for example, daemons needs to be killed to have recorded data saved.