Update the signal handler and added interrupts flag status check methods