Named Threads, improved Client closing on exceptions

Client is now closed on exceptions using 'closeInThread' method in Client