publish: close reg 2

generated from commit c5aaa82ff8cf6f0aa5a042a7ba8dcbbe4bdf1729