db requests with futures and respective exception handling