code: func RemoveUnixSocket(socket string) error {
  	if _, err := os.Stat(socket); err == nil {
  		c, err := net.DialTimeout("unix", socket, 5*time.Second)
  		if err == nil {
  			c.Close()
  			return fmt.Errorf("Socket %v is in use", socket)
  		}
  		log.Infof("Removing stale socket %v", socket)
  		return os.Remove(socket)
  	}
  	return nil
  }
docs: // RemoveUnixSocket checks to see if the given socket already exists and
  // removes it if nothing responds to connections.