I mis-timed goodbye can make for such an awkward situation. You say bye, but than you and them end up walking the same way again.
Jeez I really hate it when that happens. Also I have a horrible habit of saying, awkwardd” in awkward situations…which just makes things even more awkward. “