Execute queued tasks