Changed how shutdown works...

Now stopXXX event will stop any reading on currently open
socket and terminate reading loop. No special client/server
message is required anymore.