Linting intra-task concurrency and FutureLock

Clippy lint that identifies wrong uses of intra-task concurrency and prevents cases of FutureLock.