add thread dead lock test