use (file-based) locks to avoid socket conflicts