CGIV-436: Use lock file to prevent restarting server