Wrapped tasks in try with logging.
Removed text and source capture task.