connection pool double checked lock revised