Remove shutdownhook from default local message store.