Don't close the stderr pipe while we're reading from it.
Don't close the stderr pipe while we're reading from it.

Use 'ensure' to ensure it's closed before we leave launch_xvfb.

leonid-shevtsov/headless