fixing gen_server latency in aggregation