There's no need to use a NamedMutex, use Mutex ...