Revert "Registering finalizer for CURL handles"

This reverts commit 8b30f949b35fd1c36e7a67ea7a888462efd41073.