How to create a Task whose end date is dependent on the start date of the next task