title: How do I make a function run for only one minute
body: <p>How do you make function foo() run for only a period of time? I think threads is the most common way of impementation. </p>
  
  <p>How do I use bind and timed_join  ??</p>