Fix valgrind-detected bug where session's timeout is accessed by pthread_cond_timedwait after session has been destroyed
Merge pull request #7 from Metaswitch/vg_fix

[Reviewer: Alex] Fix valgrind-detected bug where session's timeout is accessed by pthread_cond_timedwait after session has been destroyed