Synchronize access to @client_threads in LogStash::Outputs::Tcp