lw_server (unix): clean up client refcounting