Implement unique DF IDs and improve server initialization/cleanup