Included <unistd.h> for usleep