Fixed bug #66250 (shutdown crash as shared extension)

the curl clients MSHUTDOWN was missing an raphf cleanup call