implement a naive connection pool
clean up any transaction