more map experiment
experiment with pending writes on closing socket