Description
We handle WIFEXITED and WIFSIGNALED, but we don't seem to handle WIFSTOPPED (or, on linux WIFCONTINUED). This is problematic because in cases of timeouts, we may connect a debugger which could lead to a WIFSTOPPED case. We should handle these additional cases.