How to use ShutdownHookManager in pyspark? I could eaily find sample code in scala using ShutdownHookManager in spark, but found nothing about the python version.