Determine if running on the server process (main)