Fixes #1522: added example of executing extra queries right after establishing DB connection