SQLite3 database connections leak when there is an error initializing our database connection
The sqlite
function in Persistence.hs
leaks a connection if any of the SQL statements it executes fails. These can accumulate over time and cause the server to run out of file descriptors. This results in the service being unavailable.