Add code to reliably start/stop OS X server