workaround for db timeout errors