When the phantomjs child process crash, correctly restart a child process for rendering