Refactored kill to check for environment variable named SHINY_ABRT to determine whether it should use ABRT or INT signal.