[System.Web] Fix standalone-runner to return non-zero exit code on failure (#4562)