fixing serial init issue with rpi with 1 sec sleep