rhbz1002340 - prevent ajax race condition