how can execution be paused before a particular activity?