Close MSMF video device in a proper way.