Protect pool name with lock
Disconnect from pool, if auth is failed