Safeguard server from crashing on API calls to /poll/:id/ when the database is down. Closes #43.