I do not know how can I use correctly the TTask in Delphi. 

I created a TTask.

```
syncTask := ttask.Create(SyncMysqlDatabase);

```

The following code is in the onlocationchangeevent (location sensor).
Every time when onlocationchangeevent triggered run this code:

```
if (syncTask.Status <> ttaskstatus.Running) then
  begin
    logi('syncTask.Start');
    syncTask.Start;
  end;

```

But when I try to start again (after completed) the task again I get the following exception:

> 
> Cannot start a task that has already completed
> 
> 
> 

Could anyone help me, please? Why?