Run check() in goroutine