Initialize tv_sec to 0 rather than setting tv_usec to 0 two times.