Is there a way in gcloud-python to close a connection? Currently, it seems that a connection is established and once it's done, it will sit there in CLOSE_WAIT
and time out eventually. Any help is appreciated. Thanks!
Background: I have a server running that will open a new connection when a POST request comes in that writes to GCS. When looking at a netstat
, there are ~ 40 connections (all to google) that are in CLOSE_WAIT
.
Edit: I have looked through the docs and nothing seems to jump out at me