add timeout for goal