Create CheckThread.php