It sounds like you may have a undiagnosed local networking issue. I’ve been using Macs since 1991 and the last time I had the sort of issue you’re talking about was classic macOS, where AppleTalk would literally hang the entire OS when it went into the weeds.