Better buckd death ceremony
Better buckd death ceremony

Summary:
For POSIX systems, rely on process existence by checking pid rather then checking for socket file existence. On most POSIX implementations, closing the domain socket does not really remove the file, so waiting for 3 seconds for file to disappear is pointless. Instead we are checking for process to terminate, kill it hard if it does not, and then unlink the socket.
The process has not changed on Windows, though it should be, one day.

Reviewed By: ttsugriy

fbshipit-source-id: 5c5dc45f67

JoelMarcey/buck,shs96c/buck,Addepar/buck,nguyentruongtho/buck,Addepar/buck,shs96c/buck,facebook/buck,rmaz/buck,facebook/buck,rmaz/buck,kageiit/buck,rmaz/buck,shs96c/buck,zpao/buck,Addepar/buck,JoelMarcey/buck,nguyentruongtho/buck,Addepar/buck,JoelMarcey/buck,SeleniumHQ/buck,kageiit/buck,romanoid/buck,kageiit/buck,nguyentruongtho/buck,SeleniumHQ/buck,kageiit/buck,SeleniumHQ/buck,nguyentruongtho/buck,zpao/buck,romanoid/buck,rmaz/buck,zpao/buck,facebook/buck,romanoid/buck,SeleniumHQ/buck,brettwooldridge/buck,JoelMarcey/buck,Addepar/buck,romanoid/buck,nguyentruongtho/buck,rmaz/buck,romanoid/buck,JoelMarcey/buck,shs96c/buck,zpao/buck,brettwooldridge/buck,JoelMarcey/buck,JoelMarcey/buck,romanoid/buck,Addepar/buck,SeleniumHQ/buck,romanoid/buck,Addepar/buck,SeleniumHQ/buck,zpao/buck,romanoid/buck,rmaz/buck,shs96c/buck,shs96c/buck,shs96c/buck,JoelMarcey/buck,brettwooldridge/buck,SeleniumHQ/buck,SeleniumHQ/buck,rmaz/buck,rmaz/buck,JoelMarcey/buck,shs96c/buck,SeleniumHQ/buck,brettwooldridge/buck,shs96c/buck,nguyentruongtho/buck,facebook/buck,romanoid/buck,zpao/buck,Addepar/buck,shs96c/buck,brettwooldridge/buck,romanoid/buck,rmaz/buck,facebook/buck,SeleniumHQ/buck,rmaz/buck,brettwooldridge/buck,shs96c/buck,Addepar/buck,Addepar/buck,Addepar/buck,JoelMarcey/buck,SeleniumHQ/buck,brettwooldridge/buck,Addepar/buck,romanoid/buck,brettwooldridge/buck,kageiit/buck,romanoid/buck,brettwooldridge/buck,brettwooldridge/buck,rmaz/buck,Addepar/buck,kageiit/buck,shs96c/buck,romanoid/buck,JoelMarcey/buck,SeleniumHQ/buck,zpao/buck,SeleniumHQ/buck,kageiit/buck,rmaz/buck,brettwooldridge/buck,facebook/buck,brettwooldridge/buck,JoelMarcey/buck,rmaz/buck,JoelMarcey/buck,shs96c/buck,nguyentruongtho/buck,facebook/buck,brettwooldridge/buck