In the main function I created a "sigaction sigact" which connects to a handler, and I removed the SIGUSR1 signa