player: fix exceptions handling