Update 07_17.c

This code gave me segmentatio fault after the first cicle.

I changed line #42 to make it sleep one second every cicle.
Merge pull request #1 from magal77/patch-1

thanks