Support restart of first seed node, see #2854

* Try to first join other seed nodes before joining itself
(cherry picked from commit 679c4d313d961dfadaf0df7906241e95f3f7e816)