Merge pull request #25 from rankinc/close-connections

Ensure that both Connection and XAConnection objects are closed.  Clean fix.  Thanks.
Merge branch 'master' into 3.0.0-Omnifone