Now using nanosleep to get 200ms delay