added a delay on serial comm to spare the rpi