Check for an already running instance on startup