you call this on the notification to ensure that the complete payload is not too large