MAX_UPDATE_ON_SHUTDOWN

This pull request resolves the issue #151