test: fix flaky async-hooks/test-graph.signal
Make sure event loop remains open long enough for signal to be received.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
test async-hooks