You could have a convention that says a value of -1 means that the client knows what they are doing and that they actively don't want the heartbeat. That way you can delineate that from the zero value of the field, which is likely to be the most common use case.