High cpu and Beats input: the pipeline is blocked, temporary refusing new connection

Even removing the grok filters and restarting logstash does not seem to work. Looking into logstash.log only shows the message that SIGTERM was received. I'm confused at this stage.