removing the try catch block. error was thrown asynchronously
private version of nt with fs close fix