[#2222] Cleanup resetMutex

boost::interprocess::named_mutex::remove() will remove a locked mutex,
there is no need to unlock it first. Also, unlock() will unlock a
mutex even if it is owned by another process, so there is no reason
to attempt to unlock the mutex before remove()'ing it