ELK Stack hangs when rebooting

I have tracked both Kibana and Logstack taking a significant amount of time to shutdown when the system is rebooted. Kibana can take up to 5 minutes, and logstack seems to never shutdown (witnessed up to 30 minutes before pulling the plug.

Is this reasonable? Why don’t they behave?

What system are they running on and with which config? Any hints in the logfile? But might be better asked in a Kibana/Logstash support forum since they might have more ideas.