?onclose:(unit -> unit) -> Buffer.t -> Netchannels.out_obj_channel