Simplify the signal setup in main()