title: How can I interrupt method execution by time?
body: <p>Suppose method <code>A</code> is calling method <code>B</code>. Can method <code>A</code> control execution time of method <code>B</code> and interrupt it in, suppose, 60 seconds (method <code>B</code> can hangs for example)?  </p>