Waiting now works for each train (thread)