Trying some things to making stopping the player work properly on Rpi