more unit tests to test for multiple closes in different threads