A quarantine ordered by the animal services officer shall be maintained for such a period of time as the animal services officer deems necessary to protect public health.