use session to allow connection reuse
Merge pull request #14 from dt/dt.session

use session to allow connection reuse