Attempt to solve async db read issue