Sleep the caller thread, this function will resume execution after waiting for at least the specified amount of time.