Give each session its own thread.
Don't leak thread objects, create them on the stack and then detach them.