Solved the performance issue.

Worked on locally connections storage.