libmediactl: don't close the device everytime.

We don't need to close device everytime we use the media device.