is it necessary to wrap these in try/catch (but still propagate the exception at the end) so that if one fails the other close() is not bypassed?