[Process] Fix process merge in 2.3

Handles should be read and closed after `proc_close` is called.