correct error message when stubbed reload called with transaction lock attr. Fixes #719