Make git update wait for processes to exit: