making Firebird happy by properly closing all the stuff
Merge pull request #128 from p6spy/pb_unstable

making Firebird happy by properly closing all the stuff