Partial implementation of threaded remote db calls