title: How to force stop logstash?
body: <p>I launched logstash via SSH on my server but there is an connection error to Elasticsearch. When I tried to CTRL+C Logstash did not stop and he is still running now. How can I force it to stop?</p>
  
  <p>My server runs CentOS5</p>
  
  <pre><code>Got error to send bulk of actions to elasticsearch server at localhost : blocked by: [SERVICE_UNAVAILABLE/1/state not recovered / initialized];[SERVICE_UNAVAILABLE/2/no master]; {:level=&gt;:error}
  Failed to flush outgoing items {:outgoing_count=&gt;552, :exception=&gt;org.elasticsearch.cluster.block.ClusterBlockException: blocked by: [SERVICE_UNAVAILABLE/1/state not recovered / initialized];[SERVICE_UNAVAILABLE/2/no master];, :backtrace=&gt;["org.elasticsearch.cluster.block.ClusterBlocks.globalBlockedException(org/elasticsearch/cluster/block/ClusterBlocks.java:151)", "org.elasticsearch.cluster.block.ClusterBlocks.globalBlockedRaiseException(org/elasticsearch/cluster/block/ClusterBlocks.java:141)", "org.elasticsearch.action.bulk.TransportBulkAction.executeBulk(org/elasticsearch/action/bulk/TransportBulkAction.java:210)", "org.elasticsearch.action.bulk.TransportBulkAction.access$000(org/elasticsearch/action/bulk/TransportBulkAction.java:73)", "org.elasticsearch.action.bulk.TransportBulkAction$1.onFailure(org/elasticsearch/action/bulk/TransportBulkAction.java:148)", "org.elasticsearch.action.support.TransportAction$ThreadedActionListener$2.run(org/elasticsearch/action/support/TransportAction.java:137)", "java.util.concurrent.ThreadPoolExecutor.runWorker(java/util/concurrent/ThreadPoolExecutor.java:1145)", "java.util.concurrent.ThreadPoolExecutor$Worker.run(java/util/concurrent/ThreadPoolExecutor.java:615)", "java.lang.Thread.run(java/lang/Thread.java:745)"], :level=&gt;:warn}
  SIGTERM received. Shutting down the pipeline. {:level=&gt;:warn}
  ^CSIGINT received. Shutting down the pipeline. {:level=&gt;:warn}
  ^CSIGINT received. Shutting down the pipeline. {:level=&gt;:warn}
  ^CSIGINT received. Shutting down the pipeline. {:level=&gt;:warn}
  ^CSIGINT received. Shutting down the pipeline. {:level=&gt;:warn}
  </code></pre>