Add a 'kill switch' to kill all expensive stats computation

If the SQL queries end up killing the cluster, they can be killed
swiftly

Change-Id: I38f30a62373043172482a01fa62de0fbace75f41