few sonar fix in server (connection manager)

few sonar fix in server (connection manager)