class Protobuf::Rpc::Socket::Server

def cleanup?

def cleanup?
  # every 10 connections run a cleanup routine after closing the response
  @threads.size > (@threshold - 1) && (@threads.size % @threshold) == 0
end