Heart-beat and reconnect to peers in background thread.