### ImageMagick version

7.1.1-21

### Operating system

MacOS

### Operating system, version and so on

Sonoma 14.1.1（23B81）

### Description

The magick command and the -map option suspend processing and do not complete.
CPU load is not increased and may be waiting for image input.

Incidentally, 7.0.1-0 has the same problem.

### Steps to Reproduce

A simple reproduction command is as follows

```
% magick netscape: -map netscape: out.png
(Will not return to prompt.)
```

It is reproduced  in the file image input.

```
% magick netscape: netscape.png
% magick netscape.png -map netscape.png out.png
(Will not return to prompt.)
```


### Images

_No response_
The magick command and the -map option suspend processing and do not complete.
This is a GitHub Issue
repo:ImageMagick
owner:ImageMagick
Title : The magick command and the -map option suspend processing and do not complete.
Issue date:

--- start body ---
### ImageMagick version

7.1.1-21

### Operating system

MacOS

### Operating system, version and so on

Sonoma 14.1.1（23B81）

### Description

The magick command and the -map option suspend processing and do not complete.
CPU load is not increased and may be waiting for image input.

Incidentally, 7.0.1-0 has the same problem.

### Steps to Reproduce

A simple reproduction command is as follows

```
% magick netscape: -map netscape: out.png
(Will not return to prompt.)
```

It is reproduced  in the file image input.

```
% magick netscape: netscape.png
% magick netscape.png -map netscape.png out.png
(Will not return to prompt.)
```


### Images

_No response_
--- end body ---
