do not blow up on error and close