post_shutdown signal no longer exists, changing to pre_shutdown