Add a safepoint-based mechanism to avoid SIGALRM for the TIMER facility