fix for multiple sessions with similar names

quit after finding the first match when looking for servers associated with a session