I agree with that, but it doesn't actually apply to the main situation described by OP, when nobody actually needed him, he was just killing time. It's odd that we bundled it with actually social situations such as having dinner with others.
I'm sure many have noticed this effect from reading email or news before bed. Often if I've been surfing or reading email too close to bedtime, the interesting issues and problems I've read about keep me awake for a long time.