Stop couchdb shutdown code from swallowing return code on exit event, closes #52