class Connection: ID for logging changed to own thread id