Clean up ConcurrentCloseTest#Killer

Instead of using reflection to call close() method, use generics to
specify the class implements Closeable, so that we can call close()
directly.

Test: libcore.java.net.ConcurrentCloseTest
Change-Id: I05bc4e74903fe5e4f2bda67adc6510acc3194971
1 file changed