Return promises in waitforlog.