Merge changes from topic "cleanupkeepalive" into qt-dev

* changes:
  Fix concurrent modification exception in KeepaliveTracker
  Clean up the keepalive slots when network disconnect
  Release keepalive slot after stopped