TYRUS-298: @OnClose related concurrency issues.

- SessionCloseApplicationTest#testCloseSessionServer should be stable now
- reproducible only on Linux
TYRUS-298: @OnClose related concurrency issues.