BANGKOK, April 4 (CNN) - Thailand’s Civil Aviation Authority has issued an order stopping flights from arriving in the country for three days.

The order went into effect midnight on Friday and will last until just before midnight on Monday, local time.

There are exceptions for state or military aircraft, emergency landing, technical landing, humanitarian aid, medical and relief flights, authorized repatriation flights and cargo aircraft.

The ban is meant to halt the spread of the coronavirus and support containment and mitigation efforts in the country.

Thailand has close to 2,000 cases, according to data from Johns Hopkins University.