Add the ability to close a media instead of pausing/stopping at the EOF.