Hotfix/fix hdfssink dealock

@vbajaria