Improve process cleanup for OSS benchmarker

Summary: - HHVM attempts to shutdown via admin server first. Catch failures there, and fall back on killing the process
- Check that the streams are still valid before attempting to close them

refs facebook/hhvm#3664

Reviewed By: @JoelMarcey

Differential Revision: D1545273