clean exit unlocking the database if no RA is conifgured