How to set the task time out / End task after x minutes