Sleep the thread for a given number of millisecondsThis is a blocking function.Internally, it calls nanosleep(2)