how to make sure that google colab runtime is not expired

package main

import (
    "fmt"
    "time"
)

func main() {
    for {
        fmt.Println("Runtime is still active.")
        time.Sleep(10 * time.Minute)
    }
}