Refactor the remote_node so it is easier to reason about

This also removes the extra 10 second sleep before any contact with
remote node was attempted. So if node is up, the response should be
faster.