free the handle on close callback not after doing uv_close, also use pointers for write requests