Added TimeoutException if a tasks needs to long to complete