Cleaner heartbeat message length handling