some server pid/socket prechecks