adding new signals pre_shutdown and post_shutdown