report to master when task finished.