pausing at a ticket machine , he waited impatiently for the young man already there to finish his purchase , then bought their tickets and hurried inez onto the train , boarding just before the doors closed .