Sleep condition is not working in logstash

HI Team,
I want to process request and response should delay the time between this two files. So i have implemented the sleep concept. In early it was work for me and now try to implement that in logstash it through some error in logstash,

CircuitBreaker::rescuing exceptions {:name=>"Beats input", :exception=>LogStash::Inputs::Beats::InsertingToQueueTakeTooLong, :level=>:warn}
Beats input: The circuit breaker has detected a slowdown or stall in the pipeline, the input is closing the current connection and rejecting new connection until the pipeline recover. {:exception=>LogStash::Inputs::BeatsSupport::CircuitBreaker::HalfOpenBreaker, :level=>:warn}

time => 15