hhvm: Make Ganglia monitoring scripts resilient to transient failures

The metric gathering modules should not die silently if HHVM is unresponsive.

Change-Id: I81346bb319d439a191df03d50953376921b4ca92