To rename a connection select a connection and choose Rename Connection... from context menu or press F2.
In the opened dialog enter the new name and press OK.