Checks if cubemap is down, and waits for pid