Add setting for fixing memory leaks, fix iso8601