This line is helpful when you only need a keypress to continue the hangging process:
echo dummy_text | COMMAND
When you want to wait for specific pattern from stream and exit:
bash -c 'cat <(COMMAND & grep -m 1 PATTERN)'
When you want to wait for 3 seconds and exit:
bash -c 'cat <(COMMAND & sleep 3s)'