Remove nested try block