title: Scala How to initialize a function lazily once when it is needed for another function that can be run multiple times?
body: <p>I have 2 functions. One initializes the connection and the other sends information via that connection.</p>
  <p>I am running this for different connections where the requests are randomly picked up by different web nodes. So if connection1 is initialized on web node 1 but web node 2 picks up the send request.. nothing happens.</p>
  <p>How can I use lazy vals to solve this problem?</p>