check for close exception in test.  clean up.