Fix absent return types in comm thread tracing