fix connection pool dying, closes #79