putting http request in goroutine