runner: fix task_run configuration bootstrap
ensure the task_run is created before sending the celery task; this later task
could be executed before the db commit. As a result, the task_run may not have
its 'started' field properly set; even the 'ended' and 'status'.