Clean up sleep/SIGALRM interaction.