Handle any exception while running clop tasks, to keep threads alive