added SIGALRM management