Add host_close, fixed host_open,host_write parameter.