Added refresh of active connections