Fix close windows loop in PooledRemoteWebDriver.quit()

@bug W-2164666@
@rev gtorres@
Merging origin/rsalvador/master-pending-quit-loop into master