Merge pull request #22 from garthpatil/master

Added delay after session.close() to a test