pending almost working - database appears busy