If tcphandle is NULL we are closing the socket, there are no active handles, don't issue a callback then.