removed sleep timers from db code all together, overall speed increased.