[server][SessionManager] Use Utils::removeGSourceIfNeeded() to be simple and show an error message on a failure.