fix broken connection pycsw.admin.optimize_db (#160)