work around scheduler bug, not detecting end of build