Bug fixes for Trips downloads and DB update
Summary:
Fix bug from downloading gtfs trip info from Mato
Try to fix problem of closed db connection
Test Plan: Check that the map doesn't crashes
Reviewers: valerio.bozzolan
Reviewed By: valerio.bozzolan
Subscribers: valerio.bozzolan, Libre BusTO
Tags: Libre BusTO
Differential Revision: https://gitpull.it/D118