fix hanging smartBuild task