This doesn't catch all the possible causes of timeouts, (like if Ninja is only partially stuck or if Kati is stuck) but it should clarify some causes of stuckness Bug: 62065855 Test: m -j showcommands NINJA_HEARTBEAT_INTERVAL=500ms Change-Id: I73a792ae91873b19d7b336166a2d47f37c549906