Update sidpithread.c

Added more robust delay.