Handle renderer subprocess errors. Every few thousand requests it seems to close the pipe unexpecterdly.