SqlAppender use lock object instead of this