removed maintain thread