Check the exit code from the server process