Large scale metadata collection like the NSA does can connect all the nodes by timings. In order to be secure(ish), you have to ensure that your tor connection goes though a long sequence of nodes that are well outside of NSA snooping abilities, if that's even feasible.