Fixed performance issue when handling thousands of concurrent calls