title: How to set Akka actors run only for specific time period?
body: <p>I have a big task,which i break down into smaller task and analyse them. I have a basic model.</p>
  
  <p>Master,worker and listener .</p>
  
  <p>Master creates the tasks,give them to worker actors. Once an worker actor completes,it asks for another task from the master. Once all task is completed ,they inform the listener. They usually take around less than 2 minutes to complete 1000 tasks.</p>
  
  <p>Now,Some time the time taken for some tasks might be more than others. <strong>I want to set timer for each task,and if a task takes more time,then worker task should be aborted by the master and the task has to be resubmitted later as new one.</strong> How to implement this? I can calculate the time taken by a worker task,but how Master actor keeps tab on time taken by all worker actors in real time?</p>