Clear connections map and removed unused debug info.