Revert to using flock() around accept().