> The government is shut down, treaties need to be ratified by the Senate.

The President isn't shut down, and only the President is needed to sign a treaty; it is submitted for ratification later and that, absent a deadline in the treaty, can take as long as it takes.

Also, even if the Senate was required to sign a treaty, the Senate isn't shutdown, and is in session and doing business.