The waitUnit argument can be an integer or NULL.