rhothread: wait in milliseconds