remove pthread usage from checksock.cpp
remove pthread usage from checksock.cpp

Summary: Just use std::thread for this bit

Reviewed By: farnz

Differential Revision: D4203934

fbshipit-source-id: 7e9ffbbde8a09e3d6a22da6c942f798f482a194f

nodakai/watchman,facebook/watchman,wez/watchman,nodakai/watchman,kwlzn/watchman,wez/watchman,nodakai/watchman,wez/watchman,wez/watchman,facebook/watchman,nodakai/watchman,wez/watchman,kwlzn/watchman,kwlzn/watchman,wez/watchman,facebook/watchman,nodakai/watchman,facebook/watchman,wez/watchman,nodakai/watchman,wez/watchman,kwlzn/watchman,nodakai/watchman,nodakai/watchman,facebook/watchman,kwlzn/watchman,facebook/watchman,facebook/watchman,nodakai/watchman,facebook/watchman,facebook/watchman,wez/watchman,kwlzn/watchman,kwlzn/watchman