connect only once per search to the database (performance improvement, connecting takes 10-20ms)
connect only once per search to the database (performance improvement, connecting takes 10-20ms)

danielnaber/openthesaurus,danielnaber/openthesaurus,danielnaber/openthesaurus