spring-develop: timeout was added

1) timeout was added, now all unused threads will removed after 10
minutes of doing nothing
2) creating of additional session was fixed
3) tests were minor fixed, some new tests were added