Hm, thas very much possible.
I thought I could start the io_service object again, if there is new need for it.
Maybe I should make a Session class, which holds its own io object and inputhandler, so I only create a session in my client, and the rest is then tied to the Session instance. Would that work?