Use pthread ID for more connection debugging.  Helps debug #624