Add nanosleep.