meltano run error: 'SubprocessStreamProtocol' object has no attribute '_closed'

### What is the current *bug* behavior?

> I’m trying out the new meltano run command and I’m getting this error:
'SubprocessStreamProtocol' object has no attribute '_closed'
I don’t have environments set up currently
I’m using target-postgres (pipelinewise) and tap-mysql (singer)
Works fine with etl FWIW.
I think it’s the target that’s failing but am not sure

via https://meltano.slack.com/archives/C01TCRBBJD7/p1647644988807389



### What is the expected *correct* behavior?
_What should be happening?_



### Steps to reproduce
_How one can reproduce the issue?_



### Relevant logs and/or screenshots

```
2022-03-23T03:54:22.383009Z [debug    ] Deleted configuration at /opt/meltano/.meltano/run/tap-mysql/tap.f3cb2165-e227-4ffb-9276-524d205a263e.config.json
2022-03-23T03:54:22.383883Z [debug    ] Deleted configuration at /opt/meltano/.meltano/run/target-postgres/target.4daa2906-118d-476b-a50d-562be5def8c3.config.json
2022-03-23T03:54:22.384867Z [debug    ] 'SubprocessStreamProtocol' object has no attribute '_closed'
Traceback (most recent call last):
  File "/home/analytics/.cache/pypoetry/virtualenvs/corsair-meltano-8vM4tV9J-py3.7/lib/python3.7/site-packages/meltano/cli/__init__.py", line 47, in main
    cli(obj={"project": None})
  File "/home/analytics/.cache/pypoetry/virtualenvs/corsair-meltano-8vM4tV9J-py3.7/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/home/analytics/.cache/pypoetry/virtualenvs/corsair-meltano-8vM4tV9J-py3.7/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/home/analytics/.cache/pypoetry/virtualenvs/corsair-meltano-8vM4tV9J-py3.7/lib/python3.7/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/analytics/.cache/pypoetry/virtualenvs/corsair-meltano-8vM4tV9J-py3.7/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/analytics/.cache/pypoetry/virtualenvs/corsair-meltano-8vM4tV9J-py3.7/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/home/analytics/.cache/pypoetry/virtualenvs/corsair-meltano-8vM4tV9J-py3.7/lib/python3.7/site-packages/meltano/cli/params.py", line 23, in decorate
    return func(*args, **kwargs)
  File "/home/analytics/.cache/pypoetry/virtualenvs/corsair-meltano-8vM4tV9J-py3.7/lib/python3.7/site-packages/meltano/cli/params.py", line 56, in decorate
    func(project, *args, **kwargs)
  File "/home/analytics/.cache/pypoetry/virtualenvs/corsair-meltano-8vM4tV9J-py3.7/lib/python3.7/site-packages/meltano/core/utils/__init__.py", line 71, in wrapper
    return run_async(func(*args, **kwargs))
  File "/home/analytics/.cache/pypoetry/virtualenvs/corsair-meltano-8vM4tV9J-py3.7/lib/python3.7/site-packages/meltano/core/utils/__init__.py", line 50, in run_async
    loop.run_until_complete(future)
  File "/usr/local/lib/python3.7/asyncio/base_events.py", line 587, in run_until_complete
    return future.result()
  File "/home/analytics/.cache/pypoetry/virtualenvs/corsair-meltano-8vM4tV9J-py3.7/lib/python3.7/site-packages/meltano/cli/run.py", line 84, in run
    await _run_blocks(parsed_blocks)
  File "/home/analytics/.cache/pypoetry/virtualenvs/corsair-meltano-8vM4tV9J-py3.7/lib/python3.7/site-packages/meltano/cli/run.py", line 93, in _run_blocks
    await blk.run()
  File "/home/analytics/.cache/pypoetry/virtualenvs/corsair-meltano-8vM4tV9J-py3.7/lib/python3.7/site-packages/meltano/core/block/extract_load.py", line 406, in run
    await self.execute()
  File "/home/analytics/.cache/pypoetry/virtualenvs/corsair-meltano-8vM4tV9J-py3.7/lib/python3.7/site-packages/meltano/core/block/extract_load.py", line 396, in execute
    await manager.run()
  File "/home/analytics/.cache/pypoetry/virtualenvs/corsair-meltano-8vM4tV9J-py3.7/lib/python3.7/site-packages/meltano/core/block/extract_load.py", line 591, in run
    await self._wait_for_process_completion(self.elb.head)
  File "/home/analytics/.cache/pypoetry/virtualenvs/corsair-meltano-8vM4tV9J-py3.7/lib/python3.7/site-packages/meltano/core/block/extract_load.py", line 670, in _wait_for_process_completion
    await self._handle_head_completed(current_head, start_idx)
  File "/home/analytics/.cache/pypoetry/virtualenvs/corsair-meltano-8vM4tV9J-py3.7/lib/python3.7/site-packages/meltano/core/block/extract_load.py", line 697, in _handle_head_completed
    await next_head.stdin.wait_closed()
  File "/usr/local/lib/python3.7/asyncio/streams.py", line 323, in wait_closed
    await self._protocol._closed
AttributeError: 'SubprocessStreamProtocol' object has no attribute '_closed'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/analytics/.cache/pypoetry/virtualenvs/corsair-meltano-8vM4tV9J-py3.7/lib/python3.7/site-packages/meltano/cli/__init__.py", line 55, in main
    raise CliError(str(err)) from err
meltano.cli.utils.CliError: 'SubprocessStreamProtocol' object has no attribute '_closed'
'SubprocessStreamProtocol' object has no attribute '_closed'
```



### Possible fixes
_If you can, link to the line of code that might be responsible for the problem or suggest a fix_



### Further regression test
_Ensure we automatically catch similar issues in the future_

- [ ] Write additional adequate test cases and submit test results
- [ ] Test results should be reviewed by a person from the team

Story points: 2.0