nfs: do not use CDC as try-with-resource

in a cunstruction like:

  try (CDC ignored = new CDC()) {
     ....
  } catch (Exception e) {
    log.error(e);
  }

the catch block will not have a correct context.
Use try-catch-finally instead.

Acked-by: Gerd Behrmann
Target: master, 2.9, 2.8, 2.7
Require-book: no
Require-notes: no
(cherry picked from commit c34be640f9aaa59a93048fd5ef16ef7af652c8ca)
Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Merge pull request #505 from kofemann/fix-cdc-proxy-2.9

nfs: do not use CDC as try-with-resource