Check if AsyncTimer Timer is null before attempting to cancel it