Fixed usage of session's wait timeout
Merge pull request #104 from euroelessar/master

Fixed usage of session's wait timeout