Thread-safe Open3 for Net::SSH