Return thread-local connection directly in Task