Implement event to terminate stream in video widget