Elapsed is using Socket without requiring it

...causing errors if it's not used elsewhere as well.