Fixes #1812: Hide potential warning message due to race condition occurring to `Session::regenerateID()` call