for testing unclosed threads