added Complete() and Reopen() to Task.