Terminate WSGI subprocess after it succeeds or fails
If the subprocess doesn't exit by itself for any reason, we should avoid hanging the parent process on the join() call indefinitely.
If the subprocess doesn't exit by itself for any reason, we should avoid hanging the parent process on the join() call indefinitely.