bugfix for tcp socket cache