cleanup teardown to allow all connections to be torn down