Add feature keep_alive_media
This will not close media if opened. Useful if take a long time to open it.