http.ResponseWriter is designed to be Written by one goroutine, thus our approach of spawning a separate heartbeat goroutine results in race conditions