r9382: now connects, disconnects, and executes statements