Capture: Fix second and future stats open (sparklines) on Windows
We create the dummy signal pipe only allowing one instance, so close the handle when we're done with it (and set it to NULL, so we'll create another one.)
If creating the dummy signal pipe fails, return failure and set the error message.
Log error messages on failure of capture_stat_start()
Fix #15470 (closed)