Moving critical stuff out of the socket timeout (issue #111) into a
separate thread
fixing mini message bug