tweaked: placeholder to close fd_w, not sure when I can actually do it..