Integrating Online Learning and Connectivity Maintenance for Communication-Aware Multi-Robot Coordination