put 5 db accesses into background thread.