ENG-79 fix shutdown when bulk load was enabled during shutdown

git-svn-id: http://svn.terracotta.org/svn/ehcache@7763 b9324663-ca0f-0410-8574-be9b3887307d
merge fix for eng-79

git-svn-id: http://svn.terracotta.org/svn/ehcache@7764 b9324663-ca0f-0410-8574-be9b3887307d