container/test: fix unix socket test

We can't close the server until the client is done reading from it.
container/test: buffer the close channel