Writing order items to DB and reading order confirmation details back to frontend
Small fix to make sure db connection doesn't leak