Are you doing TCP health cheking the right way? This is how to do it in golang
github.com