Few worker threads keep running even after logstash is shutdown

We have configured logstash(using default pipeline configuration). We have just one pipeline running.
When I start logstash I see it has 4 pipeline workers and batch size of 125. I am using IMAP input plugin to process emails from server.

I see that all 4 workers establish connection with IMAP.
I found that when logstash is shutdown only 1 connection is relinquished, the other workers are still keeping the connection.
I want to know how to shutdown other workers?

Thanks in advance.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.