More listener<->accepted socket closing fixes