More process wait stuff