fix tests for Connection: close