SAMTask: update status each 3 seconds.
SAMTask: fix indents.