Merge pull request #1543 from cloudant/implement-node-restart