Faster signal handling for shutdown