merged https://github.com/pdf/bindonce/commit/aea3053097e4b92986fabf2206bfb8a7197a08ce