Yeah, if you are not sure and have to go through all that to get to it I would replace it too.
Probably just a lose connection but its better to be safe.
Thought................... did you try running without the t-stat to see if you still hear it?