Update WTPRunStateCheck.c