we should do except Exception here, though if it's a db error and we don't cleanup most backends are going to remain broken