Fixed likely source of memory growth in servers - failed to push db handles back on the db stack when doing a sync.