Add some debug information in non-network threads