def connect(self, node) -> bool:
""" Looks up EPMD daemon and connects to it trying to discover other
Erlang nodes.
"""
while True:
if self.epmd_.connect():
return self.epmd_.alive2(self)
gevent.sleep(5)