created separete source file for multithreaded case
added session termination timer for the sequential case