Fix crash issue when oscam restart