Fix bug in connection service

current connection number only increase