Added comments, sync thread never dies.