Better connect() and end() for non-pool queries.