why my function "SIGINT" works two times? i want to application to close after time, i use function with recursion, but i see two results in a console \'SIGINT sig