server: Move the process pipe hangup handling into kill_process.

This ensures that it's also done correctly when a read from the pipe
returns EOF.
1 file changed