thread connection for small messages