Maybe add to comment: if the number of stored orphans is greater or equal to MAX_ORPHAN_BLOCKS