Implement AutoClosable instead Test: Run all MediaComponents test once Change-Id: Ibb1dac06b80230d62e17111bf2da1b2df81a164c