added check thread