release the mediaplayer to avoid it from crashing