Make external decoder, input.http and input.harbor thread-safe.