fix dangling pointer to data on close, handle uip_timeout